package com.qiantu.api.entity;

import java.util.List;

public class ControllerSettingDto {
    private String controllerSerialNo;
    private ControllerSettingDto.Settings settings;

    public String getControllerSerialNo() {
        return controllerSerialNo;
    }

    public void setControllerSerialNo(String controllerSerialNo) {
        this.controllerSerialNo = controllerSerialNo;
    }

    public ControllerSettingDto.Settings getSettings() {
        return settings;
    }

    public void setSettings(ControllerSettingDto.Settings settings) {
        this.settings = settings;
    }

    public static class Settings {
        private int baudrate;
        private int checktype;
        private int endmark;

        public int getBaudrate() {
            return baudrate;
        }

        public void setBaudrate(int baudrate) {
            this.baudrate = baudrate;
        }

        public int getChecktype() {
            return checktype;
        }

        public void setChecktype(int checktype) {
            this.checktype = checktype;
        }

        public int getEndmark() {
            return endmark;
        }

        public void setEndmark(int endmark) {
            this.endmark = endmark;
        }
    }
}
